/*-----------------------------------------------------------------------------
 * WDGOsVersionConstants.h
 *-----------------------------------------------------------------------------
 * 
 *-----------------------------------------------------------------------------
 * All rights reserved by somma (fixbrain@gmail.com, unsorted@msn.com)
 *-----------------------------------------------------------------------------
 * - 23.01.2011 created
**---------------------------------------------------------------------------*/
#pragma once


#ifdef _M_64
#pragma error("not defined...")
	#define OFFSET_UNIQUE_PID					0x00B4
	#define OFFSET_ACTIVE_PROCESS_LINK			0x00B8
#else
	// xp sp3
	// 
	//
	// 1: kd> dt _eprocess
	// nt!_EPROCESS
	//    +0x084 UniqueProcessId  : Ptr32 Void
	//    +0x088 ActiveProcessLinks : _LIST_ENTRY
	//    +0x14c InheritedFromUniqueProcessId : Ptr32 Void
	//    +0x174 ImageFileName    : [16] UChar
	//
	#define OFFSET_UNIQUE_PID					0x0084
	#define OFFSET_ACTIVE_PROCESS_LINK			0x0088
	#define OFFSET_PARENT_PID					0x014c	// _EPROCESS::InheritedFromUniqueProcessId
	#define OFFSET_IMAGE_FILE_NAME				0x0174
#endif//_M_64